package bit.pja.wolfkill.dao;

import bit.pja.wolfkill.entity.RoomUser;
import bit.pja.wolfkill.entity.RoomUserKey;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;

import java.util.List;

public interface RoomUserDAO extends JpaRepository<RoomUser, RoomUserKey> {

    List<RoomUser> findByRoomId(Integer roomId);
}
